 package server.shop;

 import client.inventory.Item;
 import com.fasterxml.jackson.annotation.JsonIgnore;









 public class MapleShopItem
 {
   private short buyable;
   private int itemId;
   private int price;
   private int reqItem;
   private int reqItemQ;
   private int period;
   private int state;
   private int category;
   private int minLevel;
   @JsonIgnore
   private Item rebuy;
   private int position;
   private boolean isRechargeableItem;
   private int pointtype;

   public MapleShopItem() {}

   public MapleShopItem(Item rebuy, int price, short buyable) {
/*  34 */     this.buyable = buyable;
/*  35 */     this.itemId = rebuy.getItemId();
/*  36 */     this.price = price;
/*  37 */     this.reqItem = 0;
/*  38 */     this.reqItemQ = 0;
/*  39 */     this.period = 0;
/*  40 */     this.state = 0;
/*  41 */     this.category = 0;
/*  42 */     this.minLevel = 0;
/*  43 */     this.isRechargeableItem = false;
/*  44 */     this.rebuy = rebuy;
/*  45 */     this.pointtype = 0;
   }




   public MapleShopItem(short buyable, int itemId, int price, int reqItem, int reqItemQ, int pointtype, int period, int state, int category, int minLevel, int position, boolean isRechargeableItem) {
/*  52 */     this.buyable = buyable;
/*  53 */     this.itemId = itemId;
/*  54 */     this.price = price;
/*  55 */     this.reqItem = reqItem;
/*  56 */     this.reqItemQ = reqItemQ;
/*  57 */     this.period = period;
/*  58 */     this.state = state;
/*  59 */     this.category = category;
/*  60 */     this.minLevel = minLevel;
/*  61 */     this.position = position;
/*  62 */     this.isRechargeableItem = isRechargeableItem;
/*  63 */     this.rebuy = null;
/*  64 */     this.pointtype = pointtype;
   }

   public short getBuyable() {
/*  68 */     return this.buyable;
   }

   public int getItemId() {
/*  72 */     return this.itemId;
   }

   public int getPrice() {
/*  76 */     return this.price;
   }

   public int getReqItem() {
/*  80 */     return this.reqItem;
   }

   public int getReqItemQ() {
/*  84 */     return this.reqItemQ;
   }

   public int getCategory() {
/*  88 */     return this.category;
   }

   public int getPeriod() {
/*  92 */     return this.period;
   }

   public int getState() {
/*  96 */     return this.state;
   }

   public Item getRebuy() {
/* 100 */     return this.rebuy;
   }

   public int getMinLevel() {
/* 104 */     return this.minLevel;
   }

   public int getPosition() {
/* 108 */     return this.position;
   }

   public boolean isRechargeableItem() {
/* 112 */     return this.isRechargeableItem;
   }

   public int getPointtype() {
/* 116 */     return this.pointtype;
   }
 }


/* Location:              C:\PGX\Server.jar!\server\shop\MapleShopItem.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */